package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_permission_data_rule`")
@Data
@ApiModel("")
public class SysPermissionDataRule implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "ID", example = "String")
    private String id;
    @Column(name = "`permission_id`")
    @ApiModelProperty(value = "菜单ID", example = "String")
    private String permissionId;
    @Column(name = "`rule_name`")
    @ApiModelProperty(value = "规则名称", example = "String")
    private String ruleName;
    @Column(name = "`rule_column`")
    @ApiModelProperty(value = "字段", example = "String")
    private String ruleColumn;
    @Column(name = "`rule_conditions`")
    @ApiModelProperty(value = "条件", example = "String")
    private String ruleConditions;
    @Column(name = "`rule_value`")
    @ApiModelProperty(value = "规则值", example = "String")
    private String ruleValue;
    @Column(name = "`status`")
    @ApiModelProperty(value = "权限有效状态1有0否", example = "String")
    private String status;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "CreateBy", example = "String")
    private String createBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人", example = "String")
    private String updateBy;

    private static final long serialVersionUID = 1L;
}
